Add regression tests for schedulers, LoRA state dict utils, and remote VAE helpers#8
Draft
cursor[bot] wants to merge 2 commits into
Draft
Add regression tests for schedulers, LoRA state dict utils, and remote VAE helpers#8cursor[bot] wants to merge 2 commits into
cursor[bot] wants to merge 2 commits into
Conversation
Cover high-blast-radius schedulers that previously had no dedicated unit tests: LTXEulerAncestralRFScheduler (LTX long-form video), HeliosScheduler multi-stage scheduling, and FlowMatchEulerDiscreteScheduler (SD3/Flux/Wan). Co-authored-by: Simon Lynch <srlynch1@users.noreply.github.com>
Cover LoRA key conversion paths used on every adapter load and input validation / postprocessing branches in remote VAE encode-decode helpers. Co-authored-by: Simon Lynch <srlynch1@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Risky behavior now covered
stage_indexset_timesteps(pipeline tests only exercisedstages=1)Test files added/updated
tests/schedulers/test_scheduler_ltx_euler_ancestral_rf.py(new)tests/schedulers/test_scheduler_helios.py(new)tests/schedulers/test_scheduler_flow_match_euler_discrete.py(new)tests/others/test_state_dict_utils.py(new)tests/others/test_remote_utils.py(new)Why these tests materially reduce regression risk
Scheduler schedule/step bugs silently change generation quality across many pipelines. LoRA conversion regressions break adapter loading for community checkpoints. Remote VAE helper validation gaps cause runtime failures only in hybrid-inference deployments. These unit tests are deterministic, run without GPUs or network access, and lock in the contracts that downstream pipeline tests assume but do not exercise directly.
Validation
All 42 tests passed locally.